package com.kgc.skProvider.dao;

import com.kgc.collection.pojo.SalesCollectionRefund;
import com.kgc.collection.pojo.SalesCollectionRefundDetail;

import java.util.List;
import java.util.Map;

public interface SalesCollectionRefundMapper {

    List<SalesCollectionRefund> selectSalesCollectionRefundByPage(Map<String, Object> map);

    int insertSalesCollectionRefund(SalesCollectionRefund salesCollectionRefund);

    int insertSalesCollectionRefundDetail(SalesCollectionRefundDetail salesCollectionRefundDetail);

    int deleteSalesCollectionRefund(String docCode);

    int deleteSalesCollectionRefundDetail(String mainCode);

    int checkSalesCollectionRefund(Map<String, Object> map);

    SalesCollectionRefund selectSalesCollectionRefundByCode(String docCode);

    List<SalesCollectionRefundDetail>   selectSalesCollectionRefundDetailByCode(String main_code);

}
